package com.kkb.shopcenter.server.mappers;

import com.kkb.shopcenter.common.pojo.ShopInfo;
import com.kkb.shopcenter.server.mapper.BaseMapper;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;
import tk.mybatis.mapper.provider.base.BaseInsertProvider;

public interface ShopInfoMapper extends BaseMapper<ShopInfo> {

    @Options(useGeneratedKeys = true, keyProperty = "id")
    @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL")
    int insertSelective(ShopInfo record);
}
